package com.example.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@AllArgsConstructor
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain=true)
/*
  权限等级实体类
 */
public class RoleInfo {
    //主键id自增
    @TableId(type = IdType.AUTO)
    private int id;
    //权限名
    private String roleName;
    //权限等级
    private int roleFlag;
    //权限备注
    private String remark;
}
